package com.gyh.system.common.utils;

import java.io.StringReader;
import java.io.StringWriter;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

import javax.xml.bind.JAXBContext;

/**
* @author 作者 gyh:
* @version 创建时间：2018年1月20日 下午9:05:18
* 
*/
@SuppressWarnings("rawtypes")
public class XmlUtils {
	
	private static ConcurrentMap<Class, JAXBContext> jaxbContext = new ConcurrentHashMap<Class, JAXBContext>();

	public static <T> T xmlToObject(String xml,Class<T> clazz) {
		StringReader sr = new StringReader(xml);
		
		return null;
	}
	
	public static void main(String[] args) {
		char s = 'x';
		
		System.out.println();
	}
	
}
